//
//  UIView (Extend).h
//  YuiKe
//
//  Created by gang.wang.chin on 11-11-16.
//  Copyright (c) 2011年 yuike. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Screenshot)

- (UIImage *) imageByRenderingView;
- (UIImage *) imageByRenderingViewAndThreadSafe;

-(UIImage*) shotImage;

@end

@interface UIView (Extend)

- (void) disableGesture;
- (void) enableGesture;

-(void) disableGestureIncludeAllSubViews;
-(void) enableGestureIncludeAllSubViews;

- (BOOL) rectInOtherRect: (CGRect) rect inrect:(CGRect) inRect;

-(void) setIntFrame:(CGRect) frame;


@end